package com.dgut.finaldemo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("teacher")
public class Teacher {
    @TableId(type= IdType.AUTO) //自增（与数据库字段一致）
    private Integer tid;
    private String username;
    private String password;
    private String name;
    private String career;
    private String phone;
    private String address;
    private Integer status;
    private String clock;
}
